package com.osdp.sc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * 用户与租户关系实体
 */
@Data
@TableName("sc_tenant_user")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ScTenantUser {

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /**用户id*/
    private String userId;

    /**租户id*/
    private String tenantId;
}
